{% trans_default_domain 'FOSUserBundle' %}

<form action="{{ path('fos_user_resetting_send_email') }}" method="POST" class="fos_user_resetting_request">
    <div>
        {% if invalid_username is defined %}
            <p>{{ 'resetting.request.invalid_username'|trans({'%username%': invalid_username}) }}</p>
        {% endif %}
            
        <div class="form-group">
            <input type="text" id="username" name="username" required="required" placeholder="Nom d'utilisateur ou adresse e-mail" class="form-control input-lg" />
        </div>
            
    </div>
    <div>
        <div class="form-group">
            <input class="btn btn-lg btn-success btn-block" type="submit" value="{{ 'resetting.request.submit'|trans }}" />
        </div>
    </div>
</form>
